package com.netease.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "user_dict")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户词典对象BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class UserDictBO {
    /**
     * 自定义数据元
     */
    @Column(name = "cstm_data_elmnt")
    @ApiModelProperty(value = "数据元名称", name = "cstm_data_elmnt", example = "数据元", required = true)
    private String cstmDataElmnt;

    /**
     * 词频
     */
    @Column(name = "word_frqncy")
    @ApiModelProperty(value = "词频", name = "word_frqncy", example = "1000", required = true)
    private String wordFrqncy;

    /**
     * 英文名称
     */
    @Column(name = "part_of_spch")
    @ApiModelProperty(value = "词性", name = "part_of_spch", example = "n", required = true)
    private String partOfSpch;
}